package com.sscw.tcp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.guaike.core.mybatis.entity.BasePO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 用户权益货币表
 * </p>
 *
 * @author system
 * @since 2024-10-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("u_app_user_equity")
public class UAppUserEquityPO extends BasePO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * app用户id
     */
    private Long userId;
    /**
     * 管理员余额
     */
    private BigDecimal manageMoney;
    /**
     * vip等级
     */
    private Integer vipGrade;
    /**
     * 充值总金额
     */
    private BigDecimal rechargeMoney;
    /**
     * 松果数量
     */
    private Integer pinecone;
    /**
     * 松子数量
     */
    private Integer pineNut;
    /**
     * 禁止围观30分钟次数
     */
    private Integer forbidLookThirty;
    /**
     * 锁机15分钟
     */
    private Integer lockFifteen;
    /**
     * 锁机30分钟
     */
    private Integer lockThirty;
    /**
     * 锁机60分钟
     */
    private Integer lockSixty;
    /**
     * 逻辑删除（非0:已删除, 0:未删除）
     */
    @TableLogic(value = "0", delval = "now()")
    private Long deleted;



}
